import java.awt.Container;

import javax.swing.JComponent;
import javax.swing.JFrame;


public class frame{


	private static final long serialVersionUID = 1L;
	public static JFrame frame;
	
	public static void main(String[] args) {
		new frame();
	}
	
	public static boolean isFocused(){
		if(frame.isFocused()) return true;
		return false;
	}
	
	public frame(){
		frame = new JFrame("Epic_Pong Chandler and Matthew");
		JComponent game = new pong();
		game.setFocusable(true);
		frame.getContentPane().add(game);
		Container content = frame.getContentPane();
		frame.setVisible(true);
		frame.setSize(480,320);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}
	
}
